package cn.gcyl.module.biz.controller.admin.marketinformation.vo;

import cn.gcyl.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.gcyl.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 市场资讯分页 Request VO")
@Data
public class MarketInformationPageReqVO extends PageParam {

    @Schema(description = "咨询名称", example = "赵六")
    private String informationName;

    @Schema(description = "显示顺序")
    private Integer sort;

    @Schema(description = "显示状态（0正常 1停用）", example = "2")
    private Integer status;

    @Schema(description = "首页是否推荐（0正常 1停用）", example = "1")
    private Integer recommendedStatus;

    @Schema(description = "图片地址")
    private String imagePath;

    @Schema(description = "详情")
    private String details;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}